﻿Imports DTO
Imports DAO


Public Class CBangCapBUS
    Public Function LoadDanhSachBangCap() As List(Of CBangCapDTO)
        Return New CBangCapDAO().LoadDanhSachBangCap()
    End Function


    Public Function ThemBangCap(ByVal tenbangcap As String) As Integer
        Return New CBangCapDAO().ThemBangCap(tenbangcap)
    End Function


    Public Function CapNhatBangCap(ByVal bangcap As CBangCapDTO) As Integer
        Return New CBangCapDAO().CapNhatBangCap(bangcap)
    End Function

End Class
